package com.itgaoshu.hospitalproject.service.impl;


import com.itgaoshu.hospitalproject.bean.CCashier;
import com.itgaoshu.hospitalproject.bean.ReportVo;
import com.itgaoshu.hospitalproject.mapper.CTakeMapper;
import com.itgaoshu.hospitalproject.service.CTakeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class CTakeServiceImpl implements CTakeService {

    @Autowired
    private CTakeMapper cTakeMapper;
    @Override
    public List<ReportVo> selectCTake() {
        return cTakeMapper.selectCTake();
    }

    @Override
    public List<CCashier> selCCa(int perid) {
        return cTakeMapper.selCCa(perid);
    }

    @Override
    public int countzong(int reid) {
        return cTakeMapper.countzong(reid);
    }
    public Integer chuku(int reportId){
        return cTakeMapper.chuku(reportId);
    }

}
